Skip to content

Conversation

@pboguslawski
Copy link
Contributor

This mod fixes problem with initial avatar autogeneration and
avatar autogneration after deleting previous avatar.

Related: #13159
Fixes: 80a6b0f
Author-Change-Id: IB#1105243

This mod fixes problem with initial avatar autogeneration and
avatar autogneration after deleting previous avatar.

Related: go-gitea#13159
Fixes: 80a6b0f
Author-Change-Id: IB#1105243
@pboguslawski pboguslawski mentioned this pull request Oct 21, 2020
@codecov-io
Copy link

Codecov Report

Merging #13233 into master will increase coverage by 0.00%.
The diff coverage is 20.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #13233   +/-   ##
=======================================
  Coverage   42.21%   42.22%           
=======================================
  Files         683      683           
  Lines       75458    75458           
=======================================
+ Hits        31858    31859    +1     
+ Misses      38377    38375    -2     
- Partials     5223     5224    +1     
Impacted Files Coverage Δ
models/user.go 54.24% <ø> (+0.06%) ⬆️
routers/user/setting/profile.go 40.22% <0.00%> (-0.71%) ⬇️
models/user_avatar.go 31.57% <100.00%> (ø)
modules/util/timer.go 42.85% <0.00%> (-42.86%) ⬇️
modules/indexer/stats/db.go 52.17% <0.00%> (-8.70%) ⬇️
modules/git/utils.go 73.77% <0.00%> (-3.28%) ⬇️
modules/queue/unique_queue_disk_channel.go 53.84% <0.00%> (-1.54%) ⬇️
modules/git/repo.go 46.19% <0.00%> (-0.51%) ⬇️
services/pull/pull.go 41.27% <0.00%> (+0.49%) ⬆️
services/pull/patch.go 55.68% <0.00%> (+1.70%) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9658610...e2252a6. Read the comment docs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 21, 2020
@lafriks lafriks added this to the 1.14.0 milestone Oct 21, 2020
@pboguslawski
Copy link
Contributor Author

base.HashEmail(u.AvatarEmail) was taken from CreateUser; u.AvatarEmail seems to be protected against "":

u.AvatarEmail = u.Email

if len(u.AvatarEmail) == 0 {

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Oct 23, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Oct 23, 2020
@lafriks lafriks merged commit d2ad4de into go-gitea:master Oct 23, 2020
@lafriks
Copy link
Member

lafriks commented Oct 23, 2020

please send backport

@lafriks lafriks added the backport/done All backports for this PR have been created label Oct 23, 2020
@pboguslawski pboguslawski deleted the master-IB#1105243 branch October 30, 2020 21:35
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants